package com.qire.manhua.model.vo;

import com.qire.manhua.model.entity.AppAdvert;
import com.qire.manhua.model.enumeration.AdActionType;

public class HomeRecommendSlideVO {
    public int    id;                           //: 76,
    public int    slide_page_type;              //: 1,
    public int    slide_tid;                    //: 10264,
    public String slide_url;                    //: "",
    public String slide_title;                  //: "神偷傻妃",
    public String slide_img;                    //: "https://p.qiremanhua.com/uploads/slide/201803/5abde3c3cdd54.jpg"

    public AppAdvert toAppAdvert(){
        return new AppAdvert(AdActionType.build(slide_page_type), slide_img, 0, slide_tid, slide_title, slide_url);
    }
}
